package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/** 
 * 店铺项目DO
 *
 * @author Soosky Wang
 * @date 2018年7月25日 下午9:06:53 
 * @version 1.0.0
 */
@Table(name = "reg_shop_item")
@Entity
@IdClass(RegShopItemPK.class)
@Getter
@Setter
@ToString(callSuper = true)
public class RegShopItemDO extends BaseDO {

	private static final long serialVersionUID = -727912270152097083L;
	
	@Id
	private Long shopId;
	@Id
	private Long itemId;
	private Float originalPrice;
	private String originalPriceNote;
	private Float discountPrice;
	private String discountPriceNote;
	private Float discount;
	@Column(name = "is_recommend")
	private Short recommend;
	@Column(name = "is_new_item")
	private Short newItem;
	@Column(name = "is_book")
	private Short book;
	private String tips;

}
